<?php

class viewhelper_viewbar
{
	// The Singleton-Method
	public static function viewbarausgabe()
	{
		$request = $this->getRequest();
    	$mapper = new Application_Model_Mapper_AuthMapper();
    	$id = $this->_getParam('viewbarid');
    	$iddb = $mapper->fetchID($id);
    	if (isset($id) && !empty($iddb))
    	{
    		$this->view->entry = $iddb;
    		$this->_helper->viewRenderer->renderBySpec('viewbar', array('controller' => 'auth'));
    	}
	}
	
	public function getid()
	{
		echo "XZY";
	}
}
?>